﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


using DotSpatial.Data;
//using DotSpatial.Projections;
using DotSpatial.Map;
using DotSpatial.Geometries;

namespace HuanGis
{
   public  class FShape:FObjectBase 
    {

       public FShape(string id):base(id)
       {
           
 

       }


       protected  string m_layerName;

       /// <summary>
       /// 用于表示该shape对应的父亲层的名字，
       /// </summary>
       public  string LayerName
       {
           get { return m_layerName; }
           set { m_layerName = value; }
       }

      

       //所有点坐标
       private List<Coordinate> Pts = new List<Coordinate>();

       public  List<Coordinate> normalPts
       {
           get { return Pts; }
          
       }


        //图形关键点坐标,编辑用
       private List<Coordinate> keyPts = new List<Coordinate>();

       public  List<Coordinate> KeyPts
       {
           get { return keyPts; }
          
       }




        ////图层元素关键属性，比如圆的半径等信息

        //public virtual void SetKeyCoords(Coordinate[] coords)
        //{
        //    keyPts.Clear();
        //    keyPts.AddRange(coords );
 
        //}




      

    }
}
